package models;

import play.*;
import play.data.validation.Email;
import play.data.validation.Password;
import play.data.validation.Required;
import play.db.jpa.*;
import play.libs.Codec;

import javax.persistence.*;

import java.util.*;

//@Entity
public class Contact extends Model {
	
	@Email
	@Required
	public String email;

	@Required
	public String name;

	@Required
	public String message;


	public Contact(String name, String email, String message) {
		this.name = name;
		this.email = email;
		this.message = message;
		create();
		
	}


	

}
